// phalanx exit.hpp.cu header file

// Copyright (c) 2011 - 2011 Kohei Takahashi (Flast).
// Distributed under the MIT license. for more detail see COPYING.

#ifndef IG_PHALANX_PTX_EXIT_HPP_CU_ONCE_
#define IG_PHALANX_PTX_EXIT_HPP_CU_ONCE_

#include <phalanx/config.hpp.cu>

namespace phalanx
{

namespace ptx
{

PHALANX_CONFIG_DEFAULT_FUNCTION( false )
void
_exit( void )
{ asm ( "exit;" ); }

} // namespace ptx

} // namespace phalanx

#endif // IG_PHALANX_PTX_EXIT_HPP_CU_ONCE_

